//
//
//

#ifdef __GCCE__
//#include <stddef.h>
#include "symstdlib.h"
	
/*int sprintf ( char * str, const char * format, ... )
{
	return 0;	
}*/

int wsprintf( wchar_t* lpOut, const wchar_t* lpFmt, ...)
{
	return 0;	
}

#include <e32std.h>

int GetDate(int nDayAdd)
{
	TDateTime datetime;
	datetime.Set(1980, EJanuary, 1, 0, 0, 0, 0);
	TTime time(datetime);
	time += (TTimeIntervalDays(nDayAdd - 1));
	datetime = time.DateTime();
	return datetime.Year() * 10000 + (datetime.Month() + 1) * 100
			+ (datetime.Day() + 1);	
}

#endif

